package com.linx.system.domain.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.linx.system.domain.SysUserAccessControl;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;


/**
 * 人员-门禁关联视图对象 user_access_control
 *
 * @author linx
 * @date 2024-10-26
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = SysUserAccessControl.class)
public class SysUserAccessControlVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @ExcelProperty(value = "主键")
    private Long userAccessControlId;

    /**
     * 备注
     */
    @ExcelProperty(value = "备注")
    private String remark;

    /**
     * 人员id
     */
    @ExcelProperty(value = "人员id")
    private Long userId;

    /**
     * 门禁id
     */
    @ExcelProperty(value = "门禁id")
    private Long accessControlId;

    /**
     * 授权类型 1 单独授权 2 群组授权
     */
    private Integer authorizeType;

}
